var g_count=1;

trace = (typeof console.log != 'undefined') ? console.log : null;

function func() {
    alert("func...");
}

MyClass = function(v1, v2) {
    var _v1;
    var _v2;
    function constructor(v1, v2) {
	_v1 = v1;
	_v2 = v2;
	f1();
    }

    function f1() {
	trace('f1()');
	trace('_v1: ' + _v1 );
	trace('_v2: ' + _v2 );
    }
    this.str = 'hello world';

    this.p1 = function() {
	trace("p1");
	return this.str;
    }

    constructor(v1, v2);
}


$(function() {
	$("#btn1").click(function() {
		var col_1_last = $("#col_1 > .card:last");
		col_1_last.appendTo("#col_2");
		//$("#col_2").replaceWith(col_1_last);
	    });
	var o = new MyClass(1,2);
	trace( o.p1() );
    });
